<?php

defined('_JEXEC') or die('Restricted access');

class ConsoleViewSettings extends JViewLegacy {
    
    function display($tpl = null) {
        $this->items = $this->get('Items');
        $this->pagination = $this->get('Pagination');
        
        if (count($errors = $this->get('Errors'))) {
            JError::raiseError(500, implode('<br/>', $errors));
            
            return false;
        }
        
        JToolbarHelper::title('Console Settings');
        JToolbarHelper::editList('settings.edit');
        
        parent::display($tpl);
    }
    
}
